<!--#include file="../nav/account_top.php" -->
<!--#include file="../nav_menu/account_begin.php" -->
<div class="main_content_title">
	在线充值
</div>
<div class="main_content_main">
		
	<form action="/account_pay/payconfirm" method="post" onsubmit="return fnSave()" >
		<input type="hidden" name="paytype" value="rmb" />
		<table class="ggtable" > 
			<tr>
				<td class="label">当前余额：</td>
				<td class="info" >
					<span class="gray">￥</span>
					<span class="gray">{$balance}</span>
					<span class="gray">元</span>
				</td>
			</tr>
			<tr>
				<td class="label">充值金额：</td>
				<td class="info" >
				  <input id="amount" name="amount" class="textBox" value="" maxlength="7" style="text-align:right;width:80px" />
					<span class="gray">元</span>
				</td>
			</tr>
			<tr>
				<td class="label">请选择支付方式：</td>
				<td class="info" style="height:54px;" >
					<label style="float:left;margin-right:10px;margin-top:20px;">
						<input type="radio" name="paytype" value="rmb" checked="checked" />
					</label>
					<img src="/misc/images/account/99bill.gif" />
				</td>
			</tr>
			<tr>
				<td class="label">  </td>
				<td class="info" >
					 <input type="submit" class="btn_green" value="提交" />
				</td>
			</tr>
		</table>
	</form> 
</div>
<script type="text/javascript"> 
$().ready(function(){
	$('#amount').focus();
});
function fnSave(){
	if($('#amount').val() == '' ){
		ymPrompt.alert({message:'请输入充值金额',handler:function(){
			$('#amount').focus();
		}});
		return false;
	}
	return true;
}
</script>
<!--#include file="../nav_menu/account_end.php" -->
<!--#include file="../nav/account_bottom.php" -->